package com.happok.onlineclass.usermanagement.authentication.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "remember_token")
public class RememberMeTokenDO {

    private String series;

    private String username;

    private String token;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date lastUsed;
}